/*
 * L9Log.h
 *
 *  Created on: 2011-11-19
 *      Author: baixp
 */

#ifndef L9Log_H_
#define L9Log_H_
#include <FBase.h>
using namespace Osp::Base;
#include <sstream>
#include <string>
using namespace std;
namespace lib9bada {
class L9Log {
private:
	stringstream stream;
public:
	L9Log(const char* p);
	L9Log(String str);
	L9Log(const L9Log& out);
	L9Log& operator=(const L9Log& out);
	L9Log& operator+(const char* p);
	L9Log& operator+(bool b);
	L9Log& operator+(short s);
	L9Log& operator+(int i);
	L9Log& operator+(double d);
	L9Log& operator+(long l);
	L9Log& operator+(String s);
	void operator()();
	virtual ~L9Log();
	string getStr() const;
};
};

#endif /* L9Log_H_ */
